package com.atguigu.yygh.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mgx
 * @version 1.0
 * @description: TODO
 * @date 2022/8/21 20:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YyghException extends RuntimeException{

    private Integer code;

    private String message;
}
